package edu.sctu.practice.class02.zengguangchuan.test02;

/**
 * Created by lenovo0 on 2015/10/14.
 */
public class Vehicle {
    public int speed;
    public int size;


    public Vehicle(int speed,int size){
      this.speed=speed;
        this.size=size;
}

    public void move(){
    }


    public void speedUp(int speed){
        System.out.println(speed+20);
    }


    public void speedDown(int speed){
        System.out.println(speed-20);
    }
}

